package com.drawu.drawuspring.service;

import com.drawu.drawuspring.domain.DTO.ActivitiesDto;
import com.drawu.drawuspring.domain.Result;
import com.drawu.drawuspring.domain.VO.ActivitiesVo;
import com.drawu.drawuspring.domain.po.Activities;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hui
 * @since 2025-04-01
 */

public interface IActivitiesService extends IService<Activities> {


    Result createActivity(ActivitiesDto dto);

    Result updateActivity(ActivitiesDto dto);

    Result deleteActivity(Long id);

    ActivitiesVo queryActivity(Long id);


    Result joinActivity(Long activityId, Integer userId);

    Result quitActivity(Long activityId, Integer userId);

    Result queryAllActivities();

    Result aiFill(ActivitiesDto dto) throws Exception;

    Result queryUserActivities();

    Result activityWithGame(Integer gameId);

    Result generateReport(Integer actId) throws Exception;
}
